Skip to content

Types

  1. CardInterface - Type of all cards
ts
export interface CardInterface {
  name: string // Name
  description: string // Description
}
  1. Message - Type for in-game messages
ts
export interface Message {
  content: string // Text of the message ai
  role: 'user' | 'assistant' | 'system' // role ai
}